﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace FindLargeFolderConsole
{
    class Program
    {
        static void Main(string[] args)
        {
            FindLargeFolder.FindLargeFolder findLargeFolder = new FindLargeFolder.FindLargeFolder();
            var result = findLargeFolder.FindLargeFolders("C:\\Users\\Administrator\\AppData\\");
            for (int i = 0; i < 30; i++)
            {
                if (i < result.Count)
                {
                    System.Console.WriteLine(result[i].path  + " 大小：" + findLargeFolder.presentSize(result[i].size) + " 文件夹深度：" + result[i].depth);
                }

            }
            Console.ReadLine();
        }

        
    }
}
